#pragma once
#include <iostream>
#include <string>
#include <iomanip>
using namespace std;


class Car
{
private:
	string brand;
	int year;
	double price;

public:

	Car();
	Car(string b, int y, double price);
	~Car();

	void ReadFromConsole();
	void WriteToConsole();

	string GetBrand(){ return brand; }
	void SetBrand(string b) { brand = b; }

};

